package org.darkforest.dao.mapper;

import org.darkforest.dao.annotation.DBMapper;
import org.darkforest.model.PXianshiGoods;

import java.util.List;
import java.util.Map;

@DBMapper
public interface PXianshiGoodsMapper {
    int deleteByPrimaryKey(Integer xianshiGoodsId);

    int insert(PXianshiGoods record);

    int insertSelective(PXianshiGoods record);

    PXianshiGoods selectByPrimaryKey(Integer xianshiGoodsId);

    int updateByPrimaryKeySelective(PXianshiGoods record);

    int updateByPrimaryKey(PXianshiGoods record);

    List<PXianshiGoods> findPXianshiGoodsListByCondition(PXianshiGoods pXianshiGoods);

    void updatePXianshiStatePriceBatch(Map<String, Object> map);

    List<PXianshiGoods> batchFindPXianshiGoods(Map<String, Object> map);

     List<PXianshiGoods> getListByXsId(List<Integer> validXianshi);

    int updatePXianshiGoodsState(PXianshiGoods pXianshiGoods);

    int deleteByXianshiId(Integer activeId);
}